import { constantRoutes } from '@/router/index'
export default {
  namespaced: true,
  state: {
    list: [...constantRoutes]
  },
  mutations: {
    routes(state, filterRoutes) {
      state.list = [...constantRoutes, ...filterRoutes]
    }
  }
}
